package kuzmenkov.oip.model;

import java.io.Serializable;

/**
 * Class presents the db tables "parameter"
 * User: Michael Kuzmenkov
 * Date: 18.03.2009
 * Time: 17:51:25
 */
public class Parameter {
    /**
     * The primary key
     */
    private Long parameterId;
    /**
     * Short name of a parameter which appears for users
     */
    private String name;
    private String name_ru;
    /**
     * The flag indicates which type of a parameter is: input or output
     */
    private Boolean isResult;
    private String description;
    private String description_ru;
    /**
     * Type can be "boolean", "integer", "float", "image", etc.
     */
    private String type;
    private String defaultValue;
    private Module module;
    private Integer position;

    public Integer getPosition() {
        return position;
    }

    public void setPosition(Integer position) {
        this.position = position;
    }

    public String getDescription_ru() {
        return description_ru;
    }

    public void setDescription_ru(String description_ru) {
        this.description_ru = description_ru;
    }

    public String getName_ru() {
        return name_ru;
    }

    public void setName_ru(String name_ru) {
        this.name_ru = name_ru;
    }

    public Long getParameterId() {
        return parameterId;
    }

    public void setParameterId(Long parameterId) {
        this.parameterId = parameterId;
    }

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }

    public Boolean getIsResult() {
        return isResult;
    }

    public void setIsResult(Boolean result) {
        isResult = result;
    }

    public String getDescription() {
        return description;
    }

    public void setDescription(String description) {
        this.description = description;
    }

    public String getType() {
        return type;
    }

    public void setType(String type) {
        this.type = type;
    }

    public String getDefaultValue() {
        return defaultValue;
    }

    public void setDefaultValue(String defaultValue) {
        this.defaultValue = defaultValue;
    }

    public Module getModule() {
        return module;
    }

    public void setModule(Module module) {
        this.module = module;
    }
}
